package ErrorHandler;
use strict;


use lib '/home/'.$ENV{USER}.'/djpp/core/model';
use lib '/home/'.$ENV{USER}.'/djpp/';
use Context;
use ShortCuts; 

sub error404
{
	my ($self, $r, $args) = @_;
	
	return render2response(
		r => $r, 
		template => "error404.tmpl", 
	);
}

sub error503
{
	my ($self, $r, $args) = @_;
	
	return render2response(
		r => $r, 
		template => "error503.tmpl", 
	);
}

1;